package com.hup.utils.swing.customView;

import javax.swing.JTextArea;
import java.awt.Graphics;

/**
 * @author hugan
 * @date 2022/1/11
 */
public class HintTextArea extends JTextArea implements BaseHintText {

    public HintTextArea() {
        initHintListener();
    }

    @Override
    public void paint(Graphics g) {
        //paint.st -> paintComponent.st,ed -> paint.st
        super.paint(g);
        paintHint(this, g);
    }
}
